﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FoundationLib.Ifc.Data
{
	/// <summary>
	/// Provides an interface for handling data transactions.
	/// </summary>
	public interface ITransaction
	{
		/// <summary>
		/// Commits the currently active transaction.
		/// </summary>
		void Commit();

		/// <summary>
		/// Rolls back the currently active transaction.
		/// </summary>
		void Rollback();
	}
}
